This problem was encountered in Ubuntu 12.04 in combination with Java Openjdk 7. The LD_LIBRARY_PATH must contain the path to the libjawt.so file. To resolve this the file must be located on the file system and its parent folder be added to LD_LIBRARY_PATH. This is best done in a startup script without trying to modify the global system environment. The script could look something like:
#!/bin/sh # add path of libjawt.so to LD_LIBRARY_PATH LD_LIBRARY_PATH=<PATH TO PARENT FOLDER OF libjawt.so>:$LD_LIBRARY_PATH export LD_LIBRARY_PATH # start Atlas java -jar Atlas<version>.jar
Using the path of libjawt.so as found on the Ubuntu 12.04 test system the startup script would be:
#!/bin/sh # add path of libjawt.so to LD_LIBRARY_PATH LD_LIBRARY_PATH=/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:$LD_LIBRARY_PATH export LD_LIBRARY_PATH # start Atlas java -jar Atlas<version>.jar